package com.yida.gwj.vote.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @author lqq
 * @date 2023-03-27
 */
@ApiModel("投票结果详情投票项输出")
public class GwjVoteResultDetailItemDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("投票项名称")
	private String itemName;

	@ApiModelProperty("投票项ID")
	private String itemId;

	@ApiModelProperty("选项集合")
	private List<GwjVoteResultDetailOptionCountDTO> options;

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public List<GwjVoteResultDetailOptionCountDTO> getOptions() {
		return options;
	}

	public void setOptions(List<GwjVoteResultDetailOptionCountDTO> options) {
		this.options = options;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("VoteResultDetailItemDTO{");
		sb.append("itemName='").append(itemName).append('\'');
		sb.append(", itemId=").append(itemId);
		sb.append(", options=").append(options);
		sb.append('}');
		return sb.toString();
	}
}
